﻿using System;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Tong;
public partial class AspNetPaper分页_SqlDateList : System.Web.UI.Page
{
    string sql;
 public   TongUse TextData = new TongUse();
    Fy1.FenYe FY = new Fy1.FenYe();



    protected void Page_Load(object sender, EventArgs e)
    {
        

        AspNetPager1.RecordCount = 174;
        BindData();

    }

    void BindData()
    {
        GridView1.DataSource = FY.FyNetPager(AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1), AspNetPager1.PageSize, "select * from [Ask]");
        GridView1.DataBind();
    }



    protected void ddd(object sender, EventArgs e)
    {
        
        BindData();
    }
}
